package gameobjects;

import abstracts.Task;

public class Wait extends Task {
    private long time;

    public Wait(long time) {
        this.time = time;
    }

    @Override
    public boolean isDone() {
        return --time <= 0;
    }
}
